package map;

import map.CellStatus.CellStatusType;

public class Cell {
	private CellStatus status;
	private boolean occupied;
	private boolean isBorder = false;


	
	
	public Cell(CellStatusType status, boolean occupied) {
		super();
		this.status = new CellStatus(status);
		this.occupied = occupied;
	}
	
	public Cell(){
		super();
	}
	
	public CellStatusType getStatus() {
		return status.getCellStatusType();
	}
	
	public boolean isOccupied() {
		return occupied;
	}
	
	public void setStatus(CellStatusType status) {
		this.status.setCellStatusType(status);
	}
	
	public void setOccupied(boolean occupied) {
		this.occupied = occupied;
	}

	public void setBorder(boolean isBorder) {
		this.isBorder = isBorder;
	}

	public boolean isBorder() {
		return isBorder;
	}
	
	
}
